package com.prs.crm.domain.crm;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;
/**
 * 配置单
 * @author zhoupeng 2012-2-23
 *
 */
@Entity
@Table(name="crm_configure")
public class Configure extends BaseEntity{
	private static final long serialVersionUID = 1L;
	
	@Id@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Integer id;
	
	private String deciveName;  //设备名称
	private String style;  //规格
	private String nums;  //数量
	private String remark; // 备注
	
	@ManyToOne
	private ProjectContract projectContract;  //关联合同
	@ManyToOne
	private CustomerProject customerProject;  //关联项目

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDeciveName() {
		return deciveName;
	}

	public void setDeciveName(String deciveName) {
		this.deciveName = deciveName;
	}

	public String getStyle() {
		return style;
	}

	public void setStyle(String style) {
		this.style = style;
	}

	public String getNums() {
		return nums;
	}

	public void setNums(String nums) {
		this.nums = nums;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public ProjectContract getProjectContract() {
		return projectContract;
	}

	public void setProjectContract(ProjectContract projectContract) {
		this.projectContract = projectContract;
	}

	public CustomerProject getCustomerProject() {
		return customerProject;
	}

	public void setCustomerProject(CustomerProject customerProject) {
		this.customerProject = customerProject;
	}
	
	
}
